package com.itheima.tlias.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SelectAllStudentDTO {
    private int id;
    private String name;
    private String no;
    private Integer clazzId;
    private String clazzName;
    private Integer gender;
    private String phone;
    private Integer degree;
    private Integer violationCount;
    private Integer violationScore;
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss")
    private LocalDateTime updateTime;
}
